#ifndef QPIMAPITEM_H
#define QPIMAPITEM_H

#include<QGraphicsItem>
#include<QPixmap>
#include<QPainter>
#include<QString>
class QpimapItem
{
public:
    QpimapItem(const QString & fileName);
    virtual QRectF boundingRect() const;
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
private:
    QPixmap pixmap;
};

#endif // QPIMAPITEM_H
